package com.qf.exception;

/**
 * @author ljw
 * @version 1.0
 * @Date 2024/12/26 11:03
 */

public class CommonException extends RuntimeException{
    private Integer code;
    private String msg;

    public CommonException() {
    }
    public CommonException(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }
    public CommonException(String msg){
        this.msg=msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
